xen/tools: improve tracing of Credit2 load tracking events
authorDario Faggioli <dario.faggioli@citrix.com>
Fri, 15 Jul 2016 14:49:33 +0000 (16:49 +0200)
committerGeorge Dunlap <george.dunlap@citrix.com>
Mon, 18 Jul 2016 16:52:47 +0000 (17:52 +0100)
commitf10d19329a3caba200e4d20f17cadc9cf509eba3
tree747757ab2e5e546a1f04ea10bf0cce775d94c92d
parentd205f8a7f48e2ec173806599a6ab1c9002a7c4b0
xen/tools: improve tracing of Credit2 load tracking events

Add the shift used for the precision of the integer
arithmetic to the trace records, and update both xenalyze
and xentrace_format to make use of/print it.

In particular, in xenalyze, we are can now show the
load as a (easier to interpreet) percentage.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xentrace/formats
tools/xentrace/xenalyze.c
xen/common/sched_credit2.c